/**
 * @author MIAO
 * Created on 2011-10-12
 * For more information, please visit:ismiao.com
 */
package com.ismiao.designPattern.Proxy;

public class Proxy implements GirlInfo {
	/**
	 * @uml.property  name="_girl"
	 * @uml.associationEnd  
	 */
	private GirlInfo _girl;

	public Proxy(GirlInfo girl) {
		_girl = girl;
	}

	@Override
	public void hasBoyFriend() {
		_girl.hasBoyFriend();
	}

}
